package cn.wuwenyao.patch.generator.entity;

/***
 * 源码跟target的目录映射
 * 
 * @author wwy
 *
 */
public class SourceMapper {
	
	/***
	 * 源码目录，从项目根目录开始，如/src/main/java
	 */
	private String sourceDir;
	
	/***
	 * target目录，从项目target目录开始,如/classes
	 */
	private String targetDir;
	
	/***
	 * 生成补丁的目录，从补丁跟目录开始，如/classes
	 */
	private String patchDir;
	
	public SourceMapper() {
	}
	
	public SourceMapper(String sourceDir, String targetDir, String patchDir) {
		this.sourceDir = sourceDir;
		this.targetDir = targetDir;
		this.patchDir = patchDir;
	}
	
	public String getSourceDir() {
		return sourceDir;
	}
	
	public void setSourceDir(String sourceDir) {
		this.sourceDir = sourceDir;
	}
	
	public String getTargetDir() {
		return targetDir;
	}
	
	public void setTargetDir(String targetDir) {
		this.targetDir = targetDir;
	}
	
	public String getPatchDir() {
		return patchDir;
	}
	
	public void setPatchDir(String patchDir) {
		this.patchDir = patchDir;
	}
	
}
